package com.g4.shoppingsingle.mapper;

import com.g4.shoppingsingle.pojo.DdProductInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* <p>
    * 商品表 Mapper 接口
    * </p>
*
* @author admin
* @since 2021-10-27
*/
@Mapper
public interface DdProductInfoMapper extends BaseMapper<DdProductInfo> {
    @Select("select pd_name  from dd_product_info  WHERE pd_type=#{pd_type} ")
    List<DdProductInfo> pdName(String pdName);
}
